#include<bits/stdc++.h>
using namespace std;
int n;
string s;
vector<int> vec[10005];
int main()
{
     freopen("color.in","r",stdin);
     freopen("color.out","w",stdout);
     cin>>n;
     for(int i=1;i<=n;i++)
     {
         cin>>s;
         cout<<0;
     }
     return 0;
}
